TEMPLATE = app
TARGET = MyTool

QT += core xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

DESTDIR = $$PWD/../output

INCLUDEPATH += \
    ../Common \
    ../MyShortcut \
    ../CopyFile \
    ../TranslateResource \
    ../Bridge

CONFIG(debug, debug|release) {
    LIBS += -L$$DESTDIR -lCommond
    LIBS += -L$$DESTDIR -lMyShortcutd
    LIBS += -L$$DESTDIR -lCopyFiled
    LIBS += -L$$DESTDIR -lTranslateResourced
    LIBS += -L$$DESTDIR -lBridged
} else {
    LIBS += -L$$DESTDIR -lCommon
    LIBS += -L$$DESTDIR -lMyShortcut
    LIBS += -L$$DESTDIR -lCopyFile
    LIBS += -L$$DESTDIR -lTranslateResource
    LIBS += -L$$DESTDIR -lBridge
}

HEADERS += \
    CMainWindow.h

SOURCES += \
    CMainWindow.cpp \
    main.cpp

FORMS += \
    CMainWindow.ui

win32 {
    RC_FILE += app.rc
#    RC_ICONS = ./resource/icon.ico
}

RESOURCES += \
    MyToolResource.qrc
